<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<c:set var="contextPath"
	value="${pageContext.servletContext.contextPath}" />
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>GoW - Reply Post</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<style type="text/css">
body {
	padding-top: 60px;
	padding-bottom: 40px;
}
</style>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
<link type="text/css" rel="stylesheet"
	href="/stylesheets/bootstrap.min.css" media="screen">
</head>
<body>
	<c:import url="/WEB-INF/JSP/menu.jsp" />

	<div class="container">
		<h1>Beantwoord Post</h1>

		<c:url value="/replypost" var="replypost" />
		<form method="post" action="${replypost}">

			<label>Gebruiker: ${post.user}</label> <label>PostId:
				${post.postId}</label> <input type="text" name="content"
				value="${postReply.content}">
			<c:out value="${postReply.content}" />
			<input type="submit" value="Wijzigen" />
		</form>
	</div>

	<script src="http://code.jquery.com/jquery.js"></script>
	<script src="/js/bootstrap.min.js"></script>

</body>
</html>
